package io.renren.api.test;

public class One {
    public String filed = initField();
    public static String staticFiled = initStaticField();

    private String initField() {
        System.out.println("初始化filed");
        return "初始化field";
    }

    private static String initStaticField() {
        System.out.println("初始化staticFiled");
        return "初始化staticField";
    }


    static {
        System.out.println("静态初始化块");
    }

    {
        System.out.println("实例初始化块");
    }
    public One(){
        System.out.println("构造函数");
    }

    public static void main(String[] args) {
        new One();
    }
}
